Skip to main content

repeatRate

Type

property

Summary

Specifies how long a scrollbar waits between repeats when the mouse button is held down.

Syntax

set the repeatRate to <milliseconds>

Description

Use the repeatRate property to control auto-scrolling when the mouse button is held down.

If the user clicks in the gray region of a scrollbar or on one of its arrows and holds the mouse button down, the scroll action is repeated and the scrollbar is updated repeatedly as long as the mouse is down. The repeatRate is the time in milliseconds between one update and the next.

If the repeatRate is zero, updates are performed as often as possible with no delay.

If the repeatRate is negative, scrollbar clicks do not repeat at all.

Examples

set the repeatRate to 1000 -- 1 second

function: milliseconds

glossary: mouse button, property, negative

keyword: scrollbar, integer

message: scrollbarLineInc

property: pageIncrement

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?